package com.hz.cheetah.client;

/**
 * Created by yangchuan on 16/7/8.
 */
public interface ServiceBeanFactory {

    /**
     * 创建bean
     * @param interfaceClass
     * @param <T>
     * @return
     */
    public <T> T create(final Class<?> interfaceClass);

    /**
     * 通过不同版本创建bean
     * @param interfaceClass
     * @param serviceVersion
     * @param <T>
     * @return
     */
    public <T> T create(final Class<?> interfaceClass, final String serviceVersion);
}
